package com.whstudio.common.memory.pool;

public class ObjectPool extends GenericPool<Object> {
	private static ObjectPool pool;
	private static String path="conf/pool/ObjectPool.xml";
	
	public ObjectPool(String uri){
		super(uri,Object.class.getName());
	}
	
	@Override
	protected Object newInstance() {
		return new Object();
	}
	
	public static final ObjectPool getPool(){
		if(pool==null){
			pool=new ObjectPool(path);
		}
		return pool;
	}

}
